<p>model form object = <%= modelform.class.members.map{|m| m.display_name}.inspect %></p>

<% object = modelform %>
<% @model_params[:members].each do |member| %>
	<tr>
	<th valign="top" align="right">
	<label for="<%= member.label_for %>"><%= member.display_name %></label>
	<%= member.sub_description if member.sub_description -%>
	</th>
	<td>
	<% if member.read_only %>
		<%= member.display_value(self, object) %>
	<% else %>
		<% = member.edit_value(self, object) %>
	<% end %>
	</td>
	</tr>
<% end %>


